import { defineEventHandler } from 'h3'

export default defineEventHandler((event) => {
  return aTag
})
const aTag = {
  code: 0,
  msg: '',
  data: [
    {
      id: '1',
      name: 'Java',
      articleNum: 1,
      weight: 0,
      indexPageDisplay: true,
      tagInfo: '{1}',
    },
    {
      id: '2',
      name: 'C++',
      articleNum: 0,
      weight: 0,
      indexPageDisplay: true,
      tagInfo: 'info',
    },
    {
      id: '1580212312051023873',
      name: 'React.js',
      articleNum: 0,
      weight: 1,
      indexPageDisplay: true,
      tagInfo: 'React.js',
    },
    {
      id: '3',
      name: 'Rust',
      articleNum: 0,
      weight: 1,
      indexPageDisplay: true,
      tagInfo: 'info',
    },
    {
      id: '4',
      name: 'Go',
      articleNum: 0,
      weight: 1,
      indexPageDisplay: true,
      tagInfo: 'info',
    },
    {
      id: '1580212312042635265',
      name: 'CSS',
      articleNum: 0,
      weight: 2,
      indexPageDisplay: true,
      tagInfo: 'CSS',
    },
    {
      id: '5',
      name: 'Vue.js',
      articleNum: 0,
      weight: 2,
      indexPageDisplay: true,
      tagInfo: '{}',
    },
    {
      id: '1580212312034246657',
      name: 'JavaScript',
      articleNum: 0,
      weight: 3,
      indexPageDisplay: true,
      tagInfo: 'JavaScript',
    },
    {
      id: '1580212312042635266',
      name: 'Node.js',
      articleNum: 0,
      weight: 4,
      indexPageDisplay: true,
      tagInfo: 'Node.js',
    },
    {
      id: '1580212312038440960',
      name: 'GitHub',
      articleNum: 0,
      weight: 4,
      indexPageDisplay: true,
      tagInfo: 'GitHub',
    },
    {
      id: '1580212312046829568',
      name: '前端框架',
      articleNum: 0,
      weight: 6,
      indexPageDisplay: true,
      tagInfo: '前端框架',
    },
    {
      id: '1580212312046829569',
      name: '设计模式',
      articleNum: 0,
      weight: 7,
      indexPageDisplay: true,
      tagInfo: '设计模式',
    },
    {
      id: '1580212312046829570',
      name: 'HTML',
      articleNum: 0,
      weight: 8,
      indexPageDisplay: true,
      tagInfo: 'HTML',
    },
  ],
}
